package com.design.pattern.visitor.user;

import java.util.Date;

/**
 * 男性
 */
public class Male  extends User implements UserInfo{
    /**
     * 只是用于体现男女不同
     */
    private Date AdamSApple;//第一次长喉结的日期

    @Override
    public Object accept(UserInfoReader reader) {
        return reader.visit(this);
    }

    public Date getAdamSApple() {
        return AdamSApple;
    }

    public void setAdamSApple(Date adamSApple) {
        AdamSApple = adamSApple;
    }
}
